// var TN_Widget = function() { return { //Options newWindow : true, linkText : "view
tickets", tixUrl : "http://www.ticketnetwork.com/tix/", trackingParams : "", custLink : true, //depricated kbid : "", //Overwrittable functions trackingLink :"", CreateCustomUrl : function(row) { return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx"; }, CreateEventRow : function(row, isAlt) { return "" + row[0] +"" + row[1] +"
" + row[2] +"" + row[3] +"
" + row[4] + "
" + row[5] + ""+ this.linkText+ ""; }, AddCss: function(cssUrl) { var fileref=document.createElement("link"); fileref.setAttribute("rel", "stylesheet"); fileref.setAttribute("type", "text/css"); fileref.setAttribute("href", cssUrl); document.getElementsByTagName("head")[0].appendChild(fileref); }, CreateTable : function(eventData,kywrds,url) { if(typeof(TN_SetWidgetOptions) == "function") TN_SetWidgetOptions(); //for backwards compatability if(this.kbid != "") this.trackingParams = "?img=249&kbid="+this.kbid; var newTable = []; for(var cntr = 0; cntr < eventData.length; cntr++) newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1)); var objToAddTo; if(objToAddTo = document.getElementById("tn_results_container")) { objToAddTo.innerHTML = '' + newTable.join('') + '
'; } else document.write('
' + newTable.join('') + '
'); if(eventData.length >= 100 && kywrds != undefined) { if(objToAddTo = document.getElementById("tn_results_container")) { objToAddTo.innerHTML += '
See all events for '+ kywrds + ' on TicketNetwork.com
'; } else { document.write("
See all events for "+ kywrds + " on TicketNetwork.com
"); } } if(eventData.length > 0) { document.getElementById("previewNote").style.display = "none"; } } }; }(); //BPW-TNSERV-01B TN_Widget.CreateTable([['Chappell Roan','State Theatre - Kalamazoo','Kalamazoo, MI','Saturday','6/1/2024','8:00 PM','6230075','Chappell-Roan-6-1-2024'],['Band of Horses','State Theatre - Kalamazoo','Kalamazoo, MI','Saturday','6/15/2024','8:00 PM','6381330','Band-of-Horses-6-15-2024'],['Keb Mo','State Theatre - Kalamazoo','Kalamazoo, MI','Tuesday','6/18/2024','7:30 PM','6247499','Keb-Mo-6-18-2024'],['Jason Isbell & The 400 Unit','State Theatre - Kalamazoo','Kalamazoo, MI','Saturday','6/22/2024','8:00 PM','6131643','Jason-Isbell---The-400-Unit-6-22-2024'],['Antonio Sanchez','State Theatre - Kalamazoo','Kalamazoo, MI','Friday','6/28/2024','8:00 PM','6237262','Antonio-Sanchez-6-28-2024'],['Ben Folds','State Theatre - Kalamazoo','Kalamazoo, MI','Saturday','6/29/2024','8:00 PM','6307688','Ben-Folds-6-29-2024'],['Buddy Guy','State Theatre - Kalamazoo','Kalamazoo, MI','Saturday','8/10/2024','7:30 PM','5775195','Buddy-Guy-8-10-2024'],['Graham Nash','State Theatre - Kalamazoo','Kalamazoo, MI','Tuesday','8/20/2024','7:30 PM','6281262','Graham-Nash-8-20-2024'],['Cat Power Sings Dylan','State Theatre - Kalamazoo','Kalamazoo, MI','Tuesday','9/17/2024','8:00 PM','6414549','Cat-Power-Sings-Dylan-9-17-2024'],['Three Dog Night','State Theatre - Kalamazoo','Kalamazoo, MI','Thursday','9/19/2024','8:00 PM','6367117','Three-Dog-Night-9-19-2024'],['Leonid & Friends - A Tribute To Chicago','State Theatre - Kalamazoo','Kalamazoo, MI','Friday','9/20/2024','8:00 PM','6377013','Leonid---Friends---A-Tribute-To-Chicago-9-20-2024'],['Robin Trower','State Theatre - Kalamazoo','Kalamazoo, MI','Tuesday','9/24/2024','8:00 PM','6381379','Robin-Trower-9-24-2024'],['Cowboy Junkies','State Theatre - Kalamazoo','Kalamazoo, MI','Wednesday','9/25/2024','7:30 PM','6403249','Cowboy-Junkies-9-25-2024'],['Mark Normand','State Theatre - Kalamazoo','Kalamazoo, MI','Friday','11/8/2024','7:00 PM','6383874','Mark-Normand-11-8-2024']],'State Theatre Kalamazoo','http://www.ticketnetwork.com/ticket/State-Theatre-Kalamazoo-events.aspx');